﻿@model IEnumerable<shop.ThuongHieu>

@foreach(var item in Model)
{
    if (ViewBag.type == "1")
    {
      if (item.MaTH == ViewBag.MaSP)
        {
           <option selected="selected" value="@item.MaTH"> @item.ThuongHieu1</option>  
        }
        else
        {
           <option  value="@item.MaTH"> @item.ThuongHieu1</option>  
        
        }   
    }
    else
    {
        
    
       <option  value="@item.MaTH"> @item.ThuongHieu1</option>  
        
   
    }
}